<?php

use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\User::create([
            'email' => 'admin@admin.com',
            'name' => '超级管理员',
            'password' => bcrypt('123456'),
            'deportment_id' => 0,
        ]);
    }
}
